Motivation
https://research.stlouisfed.org/publications/economic-synopses/2013/08/13/mind-the-regional-output-gap/
trying URL 'http://www2.census.gov/geo/tiger/TIGER2017/STATE/tl_2017_us_state.zip'
Content type 'application/zip' length 9284383 bytes (8.9 MB)
==================================================
downloaded 8.9 MB
number of columns of result is not a multiple of vector length (arg 1)3 parsing failures.
row # A tibble: 3 x 5 col row col expected actual file expected <int> <chr> <chr> <chr> <chr> actual 1 1441 <NA> 57 columns 1 columns 'QGSP_ALL_R.csv' file 2 1442 <NA> 57 columns 2 columns 'QGSP_ALL_R.csv' row 3 1443 <NA> 57 columns 1 columns 'QGSP_ALL_R.csv'
# plot the shapes to ensure we have them
leaflet(states) %>%
addTiles() %>%
addPolygons() %>%
setMapWidgetStyle()